/*CSS reset*/
*{
    margin: 0;
    padding: 0;
}
a{
    margin: 0;
    padding: 0;
    border: 0;
    font:12px/1.5 tahoma,Helvetica,arial,Microsoft YaHei,sans-serif;
    vertical-align: baseline;
    color: #000000;
    text-decoration: none;
}
body{
    background: #f6f6f6;
    font:12px/1.5 tahoma,Helvetica,arial,Microsoft YaHei,sans-serif;
}
p{
    /* p标签不换行 */
    display: inline;
}
li{
    list-style: none;
}
img{
    display: block;
    border: none;
}
label{
    cursor: pointer;
}

/* 全局通用样式*/
/* 定宽布局*/
.w{
    width: 1080px;
    height: 950px;
    margin: 0 auto 0 300px;
    position: relative;
    overflow: hidden;
    background: #f6f6f6;

}
.link{
    color:#999;
    cursor: pointer;
    text-decoration: none;
}
.link:hover{
    color: #415496;
}
.btn{
    display: inline-block;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    border: none;
    background: #215496;
    color:#fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}
.btn.gray{
    background: #c9c9c9;
    color: #7b7575;
}
.btn:active{
    background: #c9c9c9;
    color: #7b7575;
}

/* 侧边标签栏导航 */
.nav-left{
    padding-left: 2px;
    width: 280px;
    height: 950px;
    position: absolute;
    float: left;
    background:#fff ;
}
.nav-left .title{
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    background: #215496;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.nav-left .nav-left-item{
    display: block;
    margin:  0 auto;
    padding-top: 5px;
    width: 210px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    padding-left: 70px;
}
.nav-left .nav-left-item:hover{
    background: #999;
    color: #fcf9f9;
}
.nav-left .nav-left-item:focus{
    background: #999;
    color: #fcf9f9;
}
.nav-left .nav-left-item .item-icon{
    float: left;
    position: relative;
    width: 25px;
    height: 40px;
}
.nav-left .nav-left-item .item-icon .fa{
    margin-top: 13px;
}


/* 主页部分 */
/* 顶部导航 */
.w .nav-top{
    margin-top: 20px;
    margin-left: 40px;
    width: 1000px;
    height: 40px;
    line-height: 40px;
    background: rgb(226, 226, 226);
}
.nav-top .nav-top-userinfo{
    float: left;
}


/* 登录状态的退出按钮隐藏 */
.nav-top .nav-top-userinfo .userlogin{
    margin-left: 10px;
    float: left;
}
.nav-top .nav-top-userinfo .usernotlogin{
    margin-left: 15px;
    float: left;
}
.nav-top .nav-top-userinfo .link.userinfo-link{
    margin-right: 10px;
}
.nav-top .nav-top-list{
    float: right;
}
.nav-top .nav-top-list .nav-top-list-item{
    display: inline-block;
    margin-right: 10px;
}
.nav-top .nav-top-list .nav-top-list-item.homepage:hover{
    background: #c9c9c9;
    cursor: pointer;
}
.nav-top .nav-top-list .nav-top-list-item li{
    display: inline-block;
}




